package net.yambal.component.event
{
	import flash.events.Event;

	public class AutoUpdaterEvent extends Event
	{
		
		public static const VERSION_XML_IO_ERROR:String = "version_xml_io_error";
		public static const AIR_FILE_IO_ERROR:String = "air_file_io_error";
		public static const IS_CURRENT_VERSION:String = "is_current_version";
		public static const CAN_UPDATE:String = "can_update";
		public static const ESCAPE_UPDATE:String = "escape_update";
		public static const VERSION_XML_PARSE_ERROR:String = "version_xml_parse_error";
		
		public var version:String;
		public var remote_version:String;
		
		public function AutoUpdaterEvent(type:String, version:String, remote_virsion:String = null,bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.version = version;
			this.remote_version = remote_virsion;
		}
		
	}
}